/* pages/goods_detail/index.wxss */
page{
    padding-bottom: 90rpx;
}
.detail_swiper{
    swiper{
        width: 100%;
        // height: calc(100vw*400/400);
        height: 65vw;
        text-align: center;
        image{
            // width: 100%;
            width: 60%;
        }
    }
}

.goods_price{
    padding: 15rpx;
    font-size: 32rpx;
    font-weight: 400;
    color: var(--themecolor);
}
.goods_name_row{
    padding: 10rpx 0;
    border-top: 5rpx solid #dedede;
    border-bottom: 5rpx solid #dedede;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .goods_name{
        flex: 5;
        color: #333;
        font-size:30rpx;
        padding: 0 10rpx;
        // 只显示两行内容 超出部分隐藏...
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient:vertical;
        -webkit-line-clamp: 2;
    }
    .goods_collect {
        border-left: 1rpx solid #000;
        flex:1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        text{
            font-size:50rpx;
        }
    }
}


.goods_info{
    .goods_info_title{
        font-size: 32rpx;
        color: var(--themecolr);
        font-weight: 600;
        padding: 20rpx;
    }
}

.bot_tool{
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 90rpx;
    background: #fff;
    border-top: 1px solid #ccc;
    display: flex;
        .tool_item{
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            font-size: 24rpx;
            text{
                font-size: 28rpx;
            }
            button{
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
            }
        }
        
        .add_car{
            flex: 2;
            color: #fff;
            font-size: 30rpx;
            font-weight: 600;
            background: #FE9B00;
        }
        .buy_item{
            flex: 2;
            color: #fff;
            font-size: 30rpx;
            font-weight: 600;
            background: var(--themecolor);
        }
  
}